from django.conf.urls import url
from . import views
urlpatterns=[
    url(r'^list/(?P<category_id>\d+)/(?P<page_num>\d+)/$',views.ListView.as_view(),name='list'),
    url(r'^hot/(?P<category_id>\d+)/$',views.HotGoodsView.as_view(),name='hots'),
    url(r'^detail/(?P<sku_id>\d+)/$',views.DetailView.as_view(),name='detail'),
    url(r'^detail/visit/(?P<category_id>\d+)/$',views.DetailVisitView.as_view(),name='visit'),
    #展示评价信息
    url(r'^comments/(?P<sku_id>\d+)/$',views.CommentsView.as_view(),name='comments'),




]